package com.hsteach.web.controller.buildingApply.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 查询课表时间占用
 */
@ApiModel(value = "ListTimetableDto", description = "查询课表时间占用")
@Data
public class ListTimetableDto implements Serializable {

    @ApiModelProperty(value = "状态，0待开始、1进行中、2已结束、-2已取消、-1已拒绝", required = true)
    private String buildingId;

    @ApiModelProperty(value = "日期 yyyy-MM-dd", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

}
